package com.knoya.chejian.pda.myclass

import com.knoya.chejian.pda.util.JsonUtil
import org.json.JSONObject

class QuanXian {

    companion object {
        /**
         * 是否拥有周转权限
         */
        var package_turnover: Boolean = false
        /**
         * 是否拥有入仓权限
         * */
        var rucang : Boolean = false
        /**
         * 外协发货上传
         */
        var waixie : Boolean = false;
    }
    fun geuQuanXian(jo : JSONObject){
        package_turnover = JsonUtil.getisvolue(jo, "package_turnover")
        rucang = JsonUtil.getisvolue(jo, "in warehouse")
        waixie = JsonUtil.getisvolue(jo, "edit outsourcing_time")
    }

}